Skip to content

Sample Configuration

Tessera configuration varies by version as new features are added or changed. Below is a list of sample configurations that show a possible structure. There may be more features that are not included in the sample; a full list of features can be found here.

Samples

Version
0.10.3
0.10.2
0.10
0.9
0.8
0.7.3

Changelist

0.10.3

  • The keys.azureKeyVaultConfig and keys.hashicorpKeyVaultConfig fields are now deprecated. Instead, the generic keys.keyVaultConfigs should be used. See Keys Config for more info.

0.10.2

  • The keys.keyData.passwords field is no longer supported. Instead, use keys.keyData.passwordFile or utilise the CLI password prompt when starting the node.

  • Added configuration to choose alternative curves/symmetric ciphers. If no encryptor configuration is provided it will default to NaCl (see Supporting alternative curves in Tessera for more details).

    e.g.

    {
        "encryptor": {
            "type":"EC",
            "properties":{
                "symmetricCipher":"AES/GCM/NoPadding",
                "ellipticCurve":"secp256r1",
                "nonceLength":"24",
                "sharedKeyLength":"32"
            }
        },
        ...
    }
    

0.10

  • Added feature-toggle for remote key validation. Disabled by default.
    {
        "features": {
            "enableRemoteKeyValidation": false
        },
        ...
    }
    

0.9

  • Collapsed server socket definitions into a single property serverAddress, e.g.
    {
        "serverConfigs": [
            {
                "serverSocket": {
                    "type":"INET",
                    "port": 9001,
                    "hostName": "http://localhost"
                },
                ...
            }
        ],
        ...
    }
    
    becomes
    {
        "serverConfigs": [
            {
                "serverAddress": "http://localhost:9001",
                ...
            }
        ],
        ...
    }
    

0.8

  • Added modular server configurations